﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Data = VietStar.Library.Data;
using Entity = VietStar.Library.Entity;

namespace VietStar.Library.Business
{
    public class Comment
    {
        public Comment()
        { }

        Data.Comment comment = new Data.Comment();

        public List<Entity.Comment> GetAll()
        {
            return comment.GetAll();
        }
        public List<Entity.Comment> GetById(int Id)
        {
            return comment.GetById(Id);
        }
        public bool Insert(Entity.Comment entity)
        {
            return comment.Insert(entity);
        }
        public bool Update(Entity.Comment entity)
        {
            return comment.Update(entity);
        }
        public bool Delete(int Id)
        {
            return comment.Delete(Id);
        }
    }
}